package exam.service;

import exam.bean.Student;

import java.util.List;
import java.util.Map;

public interface IStudentService {
    //查询
    public List<Student> selectStudent(int pageNum, int pageSize);
    //插入
    public int insertStu(Student student);

    //修改
    public int updateStudent(Student student);

    //删除
    public int deleteStudent(int id);

    /**
     * 从字面翻译，查询学生信息单个
     * @param map
     * @return
     */
    public Student selectStudentSingle(Map<String,Object> map);

}
